/**
 * Created by Administrator on 2017/3/26.
 */
app.controller('authorCtr',
['$scope','$location','$http','$rootScope', function ($scope,$location,$http) {
     $http.jsonp( 'http://172.19.32.122:81/app_if/getColumns?siteId=1&parentColumnId=0&version=0&columnType=-1&jsoncallback=JSON_CALLBACK'
     ).success(function(data,header,config,status){
         $scope.autoMoc=data;
     }).error(function(data,header,config,status){
    });
}]);